﻿using System;
namespace Pay.DTO.rpay4511 {
	/// <summary>
	/// 快捷进件支付请求
	/// </summary>
	public class card_kj_req : rpay4511_req_base {
		public card_kj_req() {
			pay_type = "11103";
		}
		/// <summary>
		/// 商户号
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 支付卡姓名
		/// </summary>
		public string customerName { get; set; }
		/// <summary>
		/// 支付卡号(信用卡)
		/// </summary>
		public string acctNo { get; set; }
		/// <summary>
		/// 支付卡身份证号
		/// </summary>
		public string cerdId { get; set; }
		/// <summary>
		/// 支付卡预留手机号(只支持信 用卡支付)
		/// </summary>
		public string phoneNo { get; set; }
		/// <summary>
		/// 信用卡 cvv
		/// </summary>
		public string cvn2 { get; set; }
		/// <summary>
		/// 信用卡有效期
		/// </summary>
		public string expDate { get; set; }
		/// <summary>
		/// 银行代码:如102
		/// </summary>
		public string bankcode { get; set; }
		/// <summary>
		/// 银行代号：如ICBC
		/// </summary>
		public string bankabbr { get; set; }
		/// <summary>
		/// 异步通知地址
		/// </summary>
		public string notify_url { get; set; }
		/// <summary>
		/// 通过 get 方式重定向到return_url
		/// </summary>
		public string return_url { get; set; }
	}

	/// <summary>
	/// 卡进件响应
	/// </summary>
	public class card_kj_resp : rpay4511_resp_base {
		/// <summary>
		/// 已开通 html 为空
		/// </summary>
		public string html { get; set; }
	}

	/// <summary>
	/// 卡进件异步通知
	/// </summary>
	public class card_kj_notify {
		public card_kj_notify() {
		}
		/// <summary>
		/// 0000 表示成功，非 0 表示失 败
		/// </summary>
		public string status { get; set; }
		/// <summary>
		/// 返回信息
		/// </summary>
		public string message { get; set; }
		//以下字段在 status 为 0000 的时候有返回


		/// <summary>
		/// 0000 表示成功，非 0 表示 失败
		/// </summary>
		public string result_code { get; set; }
		/// <summary>
		/// 业务描述
		/// </summary>
		public string result_msg { get; set; }
		/// <summary>
		/// 0 待开通，1 等待签约中，2 开通成功，3 开通失败，4 绑卡状态失效
		/// </summary>
		public string activate_status { get; set; }
		/// <summary>
		/// sign
		/// </summary>
		public string sign { get; set; }
	}
}
